package com.ssm.service;

import com.ssm.entity.UserEntity;

import java.util.List;


public interface UserService {

    UserEntity selectUser(long id);//接口里public方法是多余的

    void addUser(UserEntity userEntity);

    void delUser(long id);

    void updateUser(UserEntity userEntity);

    List<UserEntity> userList();

}
